﻿<%@ Page Title="" Language="C#" MasterPageFile="../Share/Default.master" AutoEventWireup="true" CodeFile="Add.aspx.cs" Inherits="Role_Add" %>

<%@ Register Assembly="ClickOnceButton" Namespace="FreeHouse.Web.Controls" TagPrefix="cc1" %>
<%@ Register src="../Control/RoleMenu.ascx" tagname="RoleMenu" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">
    <asp:BulletedList ID="error" runat="server" ForeColor="Red">
    </asp:BulletedList>
    <table>
        <tr>
            <td>角色名称</td>
            <td>
                <asp:TextBox ID="roleName" runat="server"></asp:TextBox></td>
        </tr>
        <tr style="display:none;">
            <td>所属角色</td>
            <td>
                <asp:CheckBoxList ID="parentRole" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow"></asp:CheckBoxList>
            </td>
        </tr>
        <tr>
            <td>角色介绍</td>
            <td>
                <textarea id="description" runat="server" cols="30" rows="3"></textarea>
            </td>
        </tr>
        <tr>
            <td></td>
            <td>
                <cc1:ClickOnceButton ID="save" runat="server" Text="保存" AfterSubmitText="请稍候..." onclick="save_Click" />
                &nbsp;<cc1:ClickOnceButton ID="back" runat="server" Text="返回"  
                    AfterSubmitText="请稍候..." onclick="back_Click"  />
                
                </td>
        </tr>
    </table>
</asp:Content>

